<template>
  <div class="son">
    <h2>son.vue</h2>
    <p>{{ msg }}</p>
  </div>
</template>

<script>
export default {
  created () {
    console.log('son里面', this)
  },
  data () {
    return {
      msg: 'son的msg'
    }
  },
  methods: {
    fn1 () {
      console.log('son的fn1')
    }
  }
}
</script>

<style scoped>
.son {
  width: 350px;
  height: 350px;
  background-color: #f00;
}
</style>
